home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / AIncludes / ADBPlugin.a < prev    next >
Text File  |  1996-05-01  |  2KB  |  79 lines

  1. ;
  2. ;    File:        ADBPlugin.a
  3. ;
  4. ;    Version:    Technology:    
  5. ;                Release:    Universal Interfaces 3.0d3 on Copland DR1
  6. ;
  7. ;    Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  8. ;
  9. ;    Bugs?:        If you find a problem with this file, send the file and version
  10. ;                information (from above) and the problem description to:
  11. ;
  12. ;                    Internet:    apple.bugs@applelink.apple.com
  13. ;                    AppleLink:    APPLE.BUGS
  14. ;
  15. ;
  16.     IF &TYPE('__ADBPLUGIN__') = 'UNDEFINED' THEN
  17. __ADBPLUGIN__ SET 1
  18.  
  19.     IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
  20.     include 'Types.a'
  21.     ENDIF
  22.     IF &TYPE('__ADB__') = 'UNDEFINED' THEN
  23.     include 'ADB.a'
  24.     ENDIF
  25.     IF FOR_SYSTEM8_PREEMPTIVE THEN
  26. ;
  27. ;------------------------------------------------------------------------------------
  28. ;  Calls exported by the Family
  29. ;------------------------------------------------------------------------------------
  30. ;
  31. ;
  32. ; extern void ADBFamRequestComplete(OSStatus theStatus)
  33. ;
  34.     IF GENERATINGCFM THEN
  35.         IMPORT_CFM_FUNCTION ADBFamRequestComplete
  36.     ENDIF
  37.  
  38. ;
  39. ; extern void ADBFamAutopollArrived(Byte deviceAddress, const ADBRegisterContents *contents)
  40. ;
  41.     IF GENERATINGCFM THEN
  42.         IMPORT_CFM_FUNCTION ADBFamAutopollArrived
  43.     ENDIF
  44.  
  45. ;
  46. ;------------------------------------------------------------------------------------
  47. ;  Plugin Dispatch Table
  48. ;------------------------------------------------------------------------------------
  49. ;
  50.  
  51. kADBPluginVersion                EQU        $44332211
  52. kADBPluginCurrentVersion        EQU        $44332211
  53. ADBPluginHeader            RECORD 0
  54. version                     ds.l    1                ; offset: $0 (0)
  55. reserved1                 ds.l    1                ; offset: $4 (4)
  56. reserved2                 ds.l    1                ; offset: $8 (8)
  57. reserved3                 ds.l    1                ; offset: $C (12)
  58. sizeof                     EQU *                    ; size:   $10 (16)
  59.                         ENDR
  60. ADBPluginDispatchTable    RECORD 0
  61. header                     ds        ADBPluginHeader ; offset: $0 (0)
  62. Init                     ds.l    1                ; offset: $10 (16)
  63. SetAutopollDelay         ds.l    1                ; offset: $14 (20)
  64. GetAutopollDelay         ds.l    1                ; offset: $18 (24)
  65. SetAutopollList             ds.l    1                ; offset: $1C (28)
  66. GetAutopollList             ds.l    1                ; offset: $20 (32)
  67. AutopollEnable             ds.l    1                ; offset: $24 (36)
  68. AutopollDisable             ds.l    1                ; offset: $28 (40)
  69. ResetBus                 ds.l    1                ; offset: $2C (44)
  70. Flush                     ds.l    1                ; offset: $30 (48)
  71. SetRegister                 ds.l    1                ; offset: $34 (52)
  72. GetRegister                 ds.l    1                ; offset: $38 (56)
  73. SetKeyboardList             ds.l    1                ; offset: $3C (60)
  74. sizeof                     EQU *                    ; size:   $40 (64)
  75.                         ENDR
  76.     ENDIF
  77.     ENDIF ; __ADBPLUGIN__ 
  78.  
  79.